﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoBackupDatabase.BLL
{
    using System.Data;

    using AutoBackupDatabase.DAL;

    public class ReportBLL
    {
         private ReportDAL reportDal;
         public ReportBLL()
           {
               reportDal = new ReportDAL();
           }

        public DataTable BAOCAOTONGHOP(DateTime FROM, DateTime TO)
        {
            return reportDal.BAOCAOTONGHOP(FROM, TO);
        }


        public DataTable BAOCAODOANHTHUTHEOHOADON(DateTime FROM, DateTime TO)
        {
            return reportDal.BAOCAODOANHTHUTHEOHOADON(FROM, TO);
        }
        public DataTable GETLISTEXPORT(DateTime FROM, DateTime TO, bool ISPAYALL)
        {
            return reportDal.GETLISTEXPORT(FROM, TO, ISPAYALL);
        }
        
        public DataTable BAOCAODOANHTHUTHEOMONAN(DateTime FROM, DateTime TO)
        {
            return reportDal.BAOCAODOANHTHUTHEOMONAN(FROM, TO);
        }

        public DataTable BAOCAODOANHTHUTHEONGAY(DateTime FROM, DateTime TO)
        {
            return reportDal.BAOCAODOANHTHUTHEONGAY(FROM, TO);
        }
    }
}
